package com.jxinternet.platform.services.entity.domian;

import java.util.Date;

public class Fish {

    /**
     * ID
     */
    private Long id;

    /**
     * 鱼编码
     */
    private String fishCode;

    /**
     * 鱼名字
     */
    private String fishName;

    /**
     * 赔率
     */
    private Double odds;

    /**
     * 被击中概率
     */
    private Double chance;

    /**
     * 状态
     */
    private String state;

    /**
     * 平台号
     */
    private String platformNo;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 版本
     */
    private Integer version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFishCode() {
        return fishCode;
    }

    public void setFishCode(String fishCode) {
        this.fishCode = fishCode == null ? null : fishCode.trim();
    }

    public String getFishName() {
        return fishName;
    }

    public void setFishName(String fishName) {
        this.fishName = fishName == null ? null : fishName.trim();
    }

    public Double getOdds() {
        return odds;
    }

    public void setOdds(Double odds) {
        this.odds = odds;
    }

    public Double getChance() {
        return chance;
    }

    public void setChance(Double chance) {
        this.chance = chance;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(String platformNo) {
        this.platformNo = platformNo == null ? null : platformNo.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "Fish{" +
                "id=" + id +
                ", fishCode='" + fishCode + '\'' +
                ", fishName='" + fishName + '\'' +
                ", odds=" + odds +
                ", chance=" + chance +
                ", state='" + state + '\'' +
                ", platformNo='" + platformNo + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", version=" + version +
                '}';
    }
}